package com.rightsidetech.system.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.commom.base.PageRequest;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.commom.exception.BizException;
import com.rightsidetech.commom.service.IService;
import com.rightsidetech.system.dtos.request.AppUpdateReq;
import com.rightsidetech.system.dtos.response.AppVersionResp;
import com.rightsidetech.system.dtos.response.SysAppVersionResp;
import com.rightsidetech.system.entity.SysAppVersion;

import java.util.List;


/**
 * @Author: yhr
 * @Date: 2021-11-09 14:13
 */
public interface AppUpdateService extends IService<SysAppVersion,Long> {
    ResponseData<PageInfo<SysAppVersionResp>> versionPage(PageRequest req);

    ResponseData insertAppDate(AppUpdateReq updateReq, Long loginInfoId, String type) throws BizException;

    SysAppVersion selectByPrimaryKey(Long id);

    ResponseData<AppVersionResp> versionDate(String appVersion, Byte appOs, Byte appType) throws Exception;

}
